<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>邮件报告模板</title>
</head>

<style type="text/css">
* {
	font-size: 12px;
}
#table1 {
	border: 1px solid rgb(153, 187, 232);
}
#table1 #table_head {
	background: #B0C9E7; height: 25px; text-align: left; line-height: 25px; text-indent: 20px; font-weight: bolder;
}
#table1 #table_con {
	background: rgb(223, 232, 246);
}
#table1 #table_in {
	background: rgb(208, 208, 208); border: 0px currentColor; margin-top: 5px; margin-bottom: 5px;
}
#table1 #table_in th {
	background: #F0F1F3; height: 22px; border-bottom-color: rgb(208, 208, 208); border-bottom-width: 1px; border-bottom-style: solid; align: center;
}
#table1 #table_in .td1 {
	background: #F0F1F3; height: 22px; text-align: center;border-bottom-color: rgb(208, 208, 208); border-bottom-width: 1px; border-bottom-style: solid; align: center;
}
#table1 #table_in td {
	height: 22px; text-align: right; line-height: 22px; border-bottom-color: rgb(237, 237, 237); border-bottom-width: 1px; border-bottom-style: solid;
}
.tdbg10 {
	background: rgb(238, 239, 241);
}
.tdbg11 {
	background: rgb(255, 255, 255);
}
</style>
<body>
	
#if($allGames)
	#foreach($game in $allGames)
		
		<table width="96%" align="center" cellpadding="0" cellspacing="0" id="table1">
          <tr>
              <td id="table_head">游戏每日数据报告 -- ${game.game_name}</td>
          </tr>
          <tr>
        	  <td id="table_con" valign="top">
                    <table width="99%" align="center" cellpadding="0" cellspacing="1" id="table_in">
        	<tr>
                <th rowspan="2">游戏</th>
            	<th colspan="3">充值人数</th>
            	<th colspan="3">充值订单数</th>
        		<th colspan="3">支付流水</th>
            	<th colspan="3">利润</th>
        		<th colspan="3">ARPU</th>
          </tr>
          <tr>
            <th>今天</th>
            <th>昨天</th>
            <th>环比</th>
            <th>今天</th>
            <th>昨天</th>
            <th>环比</th>
            <th>今天</th>
            <th>昨天</th>
            <th>环比</th>
        	<th>今天</th>
            <th>昨天</th>
            <th>环比</th>
        	<th>今天</th>
            <th>昨天</th>
            <th>环比</th>
          </tr>
          #foreach($vo in ${game.reportList})
             <tr onMouseOver="this.className='tdbg10'" onMouseOut="this.className='tdbg11'" class="tdbg11">
                <td align="center"  class="td1">
					#if(${vo.server_id} == 0) 
							汇总
					#else 
						#if(${game.game_name} == "总计")
							${vo.game_name}
						#else
							${vo.server_name}
						#end
						
					#end
					
					
        			
        		</td>
                <td align="center" >$tools.douDF($!{vo.pay_user_count})</td>
                <td align="center" >$tools.douDF($!{vo.pay_user_count_yd})</td>
                <td align="center" >$tools.compRate($!{vo.pay_user_count},$!{vo.pay_user_count_yd})%</font></td>
        		
                <td align="center" >$tools.douDF($!{vo.pay_order_count})</td>
                <td align="center" >$tools.douDF($!{vo.pay_order_count_yd})</td>
                <td align="center" >$tools.compRate($!{vo.pay_order_count},$!{vo.pay_order_count_yd})%</font></td>
        	
        	
        		<td align="center" >$tools.xsd($!{vo.pay_amount})</td>
                <td align="center" >$tools.xsd($!{vo.pay_amount_yd})</td>
                <td align="center" >$tools.compRate($!{vo.pay_amount},$!{vo.pay_amount_yd})%</font></td>
        	
        		<td align="center" >$tools.xsd($!{vo.profit_amount})</td>
                <td align="center" >$tools.xsd($!{vo.profit_amount_yd})</td>
                <td align="center" >$tools.compRate($!{vo.profit_amount},$!{vo.profit_amount_yd})%</font></td>
        	
        		<td align="center" >$tools.xsd($!{vo.arpu})</td>
                <td align="center" >$tools.xsd($!{vo.arpu_yd})</td>
                <td align="center" >$tools.compRate($!{vo.arpu},$!{vo.arpu_yd})%</font></td>
              </tr>
          #end
                    </table>
                </td>
            </tr>
        </table>
		</br>
		</br>
	#end
#end
	

</body>
</html>

